/**
 * Created by Rowger on 7/27 0027.
 */
function getUrlParam(name) {
    var _s = window.location.search;
    if (!_s) return '';
    _s = _s.substr(1);
    var _arr = _s.split('&');
    var _t = null;
    for (var i = 0; i < _arr.length; i++) {
        _t = _arr[i].split('=');
        if (_t[0] == name) {
            return _t.length > 1 ? _t[1] : '';
        }
    }
    return '';
}